﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Avatar.Model;
using AvatarHelper;

namespace Avatar.ADService
{
    public static class ADPriceManager
    {
        /// <summary>
        /// 获取广告价格信息
        /// </summary>
        /// <param name="_adCategoryID"></param>
        /// <param name="_periodID"></param>
        /// <returns></returns>
        public static ADPrice GetPrice(Guid _adCategoryID,int _periodID)
        {
            return DBHelper.Get<ADPrice>(p=>p.ADCategoryID==_adCategoryID&&p.PeriodID==_periodID,"获取广告价格信息出错:");
        }
    }
}
